//
//(C) Copyright 2011 HongKong Airline.,Ltd. 
//
/**
 * clientreferModel
 *
 * 项目名称:代购系统
 *
 * @author Mengxiangliang
 *
 * 功能描述:
 * 
 * 历史版本:2013-01-04 v1.0.0 Mengxiangliang  创建:
 * 
 */
package com.gamutsoft.amb.clientrefer.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "CLIENTREFER")
public class Clientrefer implements java.io.Serializable {

	/**
	 * 
	 */
	private Long id ;
	/**
	 * 
	 */
	private String title ;
	/**
	 * 
	 */
	private String content ;
	/**
	 * 
	 */
	private String recontent ;
	/**
	 * 
	 */
	private String senddate ;
	/**
	 * 
	 */
	private String redate ;
	/**
	 * 
	 */
	private String status ;
	/**
	 * 
	 */
	private Long senduser ;
	/**
	 * 
	 */
	private Long reuser ;

/** default constructor */
	public Clientrefer() {
	}

	/** minimal constructor */
   public Clientrefer(Long id) {
             this.id = id;
                                                      	
 } 
	

    /**
	 * 获取
	 * @return
	 */
    @Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id", unique = true, nullable = false, scale = 0)
	public Long getId() {
		return this.id;
	}
	
	/**
	 * 设置
	 * @param id
	 */	
	public void setId(Long id) {
		this.id = id;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "title", length = 100)
	public String getTitle() {
		return title;
	}
	
	/**
	 * 设置
	 * @param title
	 */	
	public void setTitle(String title) {
		this.title = title;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "content", length = 256)
	public String getContent() {
		return content;
	}
	
	/**
	 * 设置
	 * @param content
	 */	
	public void setContent(String content) {
		this.content = content;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "reContent", length = 256)
	public String getRecontent() {
		return recontent;
	}
	
	/**
	 * 设置
	 * @param recontent
	 */	
	public void setRecontent(String recontent) {
		this.recontent = recontent;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "sendDate", length = 19)
	public String getSenddate() {
		return senddate;
	}
	
	/**
	 * 设置
	 * @param senddate
	 */	
	public void setSenddate(String senddate) {
		this.senddate = senddate;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "reDate", length = 19)
	public String getRedate() {
		return redate;
	}
	
	/**
	 * 设置
	 * @param redate
	 */	
	public void setRedate(String redate) {
		this.redate = redate;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "status", length = 3)
	public String getStatus() {
		return status;
	}
	
	/**
	 * 设置
	 * @param status
	 */	
	public void setStatus(String status) {
		this.status = status;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "sendUser", length = 32)
	public Long getSenduser() {
		return senduser;
	}
	
	/**
	 * 设置
	 * @param senduser
	 */	
	public void setSenduser(Long senduser) {
		this.senduser = senduser;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "reUser", length = 32)
	public Long getReuser() {
		return reuser;
	}
	
	/**
	 * 设置
	 * @param reuser
	 */	
	public void setReuser(Long reuser) {
		this.reuser = reuser;
	}
}